<template>
	<div>
		<h1>Welcome：<span>{{userInfo.userName}}</span></h1>
	</div>
</template>

<script>
import { mapState } from 'vuex';

export default {
	name: 'dashboard',
	computed: {
		...mapState('user',['userInfo'])
	},
	data() {
		return {}
	}
};
</script>

<style lang="less">

</style>
